<?php session_start(); require_once('../../connections/con_gl.php'); ?>
<?php
if($_GET['act']=='add'){
	mysql_select_db($database_con_gl, $con_gl);
	$query_klas1 = "SELECT id, area FROM gl_area ORDER BY area ASC";
	$klas1 = mysql_query($query_klas1, $con_gl) or die(mysql_error());
	$row_klas1 = mysql_fetch_assoc($klas1);
	$totalRows_klas1 = mysql_num_rows($klas1);
}else if($_GET['act']=='edit'){
	mysql_select_db($database_con_gl, $con_gl);
	$query_klas1 = "SELECT id, area FROM gl_area ORDER BY area ASC";
	$klas1 = mysql_query($query_klas1, $con_gl) or die(mysql_error());
	$row_klas1 = mysql_fetch_assoc($klas1);
	$totalRows_klas1 = mysql_num_rows($klas1);

	/*$colname_edit = "-1";
	if (isset($_GET['id'])) {
	  $colname_edit = (get_magic_quotes_gpc()) ? $_GET['id'] : addslashes($_GET['id']);
	}*/
	$id = $_GET['id'];
	mysql_select_db($database_con_gl, $con_gl);
	//$query_edit = sprintf("SELECT * FROM gl_kontak WHERE id = %s", $colname_edit);
	$query_edit = sprintf("SELECT * FROM gl_kontak WHERE id = '$id'");
	$edit = mysql_query($query_edit, $con_gl) or die(mysql_error());
	$row_edit = mysql_fetch_assoc($edit);
	$totalRows_edit = mysql_num_rows($edit);
}
?>
<html>
<head>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<link href="../../css/ui.datepicker.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../js/ajax_data.js"></script>
<script type="text/javascript" src="../../js/ui.datepicker.js"></script>
<script type="text/javascript">
<!--
$(function()
      {
        $('.calendar').datepicker({
            appendText : "",
            dateFormat : 'yy/mm/dd'
          });
      });
	  
</script>
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,menubar=yes';
win = window.open('../../'+mypage,myname,settings);
}
</script>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="../../proses/customercorporate.php" method="POST" enctype="multipart/form-data"> 
	<?php if($_GET['act']=='add'){ ?>
	<input type="hidden" id="act" name="act" value="add" />
	<?php }else if($_GET['act']=='edit'){ ?>
	<input type="hidden" id="act" name="act" value="edit" />
	<input type="hidden" id="idx" name="idx" value="<?php echo $id; ?>" />
	<?php } ?>
	<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
    <tr>
		<td align="right" bgcolor="#DDDDDD"><div align="left">Biodata Perusahaan </div>
		<label></label></td>
		<td align="right" bgcolor="#DDDDDD">&nbsp;</td>
		<td width="1%" bgcolor="#FFFFFF">&nbsp;</td>
		<td colspan="2" bgcolor="#DDDDDD"><div align="left">Status Customer </div></td>
		<td width="1%" bgcolor="#FFFFFF">&nbsp;</td>
		<td width="28%" valign="top" bgcolor="#DDDDDD">Data Pendukung </td>
    </tr>
    <tr valign="top">
		<td width="15%" align="right" bgcolor="#FFFFFF">Nama Perusahaan* : </td>
		<td width="22%" bgcolor="#FFFFFF"><label>
			<input name="nama" type="text" id="nama" size="37" maxlength="100" value="<?php echo $row_edit['nama']; ?>" />
		</label></td>
		<td bgcolor="#FFFFFF">&nbsp;</td>
		<td width="12%" bgcolor="#FFFFFF"><div align="right">Tanggal Daftar : </div></td>
		<td width="21%" bgcolor="#FFFFFF"><input name="tgldaftar" type="text" class="calendar" id="tgldaftar" value="<?php echo $row_edit['tgldaftar']; ?>" size="15" maxlength="15"/></td>
		<td bgcolor="#FFFFFF">&nbsp;</td>
		<td bgcolor="#FFFFFF">
			<div align="left" style="display:inline;">
				<input name="copyakta" type="checkbox" id="copyakta" value="ok" onClick="javascript: if(this.checked==true){$('#filecopyakta').show(500);$('#filecopyakta').click();}else{$('#filecopyakta').hide(500);}" /><a href="#" onClick="$('#copyaktafile').slideToggle(500);">Foto Copy Akta :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copyakta'])) echo "<img id='copyaktafile' src='../../$row_edit[copyakta]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copyakta]', '_blank')\" />";
				?><input type="file" name="filecopyakta" id="filecopyakta" style="display:none;" />
			</div>		</td>
    </tr>    
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">Alamat Perusahaan*  : </td>
      <td rowspan="2" bgcolor="#FFFFFF"><textarea name="alamat" cols="35" rows="2" id="alamat"><?php echo $row_edit['alamat']; ?></textarea>
        <input name="alamatx" type="hidden" id="alamatx" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="right">Daftar di Area : </div></td>
      <td bgcolor="#FFFFFF"><input type="hidden" name="area" id="area" value="<?php echo $row_edit['area']; ?>" />
        <?php list($namaarea) = mysql_fetch_row(mysql_query("select area from gl_area where id = '$row_edit[area]'"));?>
        <input type="text" name="txtarea" id="txtarea" readonly value="<?php echo $namaarea; ?>" size="28" style="background-color:#fff;border:1px solid #999; height:16px;" onclick="NewWindow('index.php?component=area&amp;task=list&amp;open=window','name','825','450','yes');return false" />
        <?php if(strstr($_SESSION['akses'],"PD-6-1")) { ?>
        <a onClick="NewWindow('index.php?component=area&amp;task=add&amp;open=window','name','825','450','yes');return false"><img src="../../images/add_.png" hspace="2" border="0" style="position:absolute;cursor:pointer;" /></a>
        <?php } ?></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="left">
          <input name="copysiup" type="checkbox" id="copysiup" value="ok"  onclick="javascript: if(this.checked==true){$('#filecopysiup').show(500);$('#filecopysiup').click();}else{$('#filecopysiup').hide(500);}"/><a href="#" onClick="$('#copysiupfile').slideToggle(500);">Foto Copy SIUP :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copysiup'])) echo "<img id='copysiupfile' src='../../$row_edit[copysiup]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copysiup]', '_blank')\" />";?><input type="file" name="filecopysiup" id="filecopysiup" style="display:none;" /></div></td>
    </tr>
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="right">Daftar di Cabang: </div></td>
      <td bgcolor="#FFFFFF"><input type="hidden" name="cabang" id="cabang" value="<?php echo $row_edit['cabang']; ?>" />
        <?php list($namacabang) = mysql_fetch_row(mysql_query("select gudang from gl_gudang where id = '$row_edit[cabang]'"));?>
        <input type="text" name="txtcabang" id="txtcabang" value="<?php echo $namacabang; ?>" size="28" readonly style="background-color:#fff;border:1px solid #999; height:16px;" onclick="NewWindow('index.php?component=gudang&amp;task=list&amp;area='+document.getElementById('area').value+'&amp;open=window','name','825','450','yes');return false" />
        <?php if(strstr($_SESSION['akses'],"PD-7-1")) { ?>
          <a onClick="NewWindow('index.php?component=gudang&amp;task=add&amp;open=window','name','825','450','yes');return false"><img src="../../images/add_.png" alt="Tambah data Cabang" hspace="2" border="0" style="cursor:pointer;position:absolute;" /></a>
          <?php } ?></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="left">
          <input name="copytdp" type="checkbox" id="copytdp" value="ok" onClick="javascript: if(this.checked==true){$('#filecopytdp').show(500);$('#filecopytdp').click();}else{$('#filecopytdp').hide(500);}"/><a href="#" onClick="$('#copytdpfile').slideToggle(500);">Foto Copy TDP :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copytdp'])) echo "<img id='copytdpfile' src='../../$row_edit[copytdp]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copytdp]', '_blank')\" />";?><input type="file" name="filecopytdp" id="filecopytdp" style="display:none;" /></div></td>
    </tr>
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">Telp Perusahaan* : </td>
      <td bgcolor="#FFFFFF"><input name="tlp" type="text" id="tlp" size="37" maxlength="100" value="<?php echo $row_edit['tlp']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="right">Status Customer : </div></td>
      <td bgcolor="#FFFFFF"><select name="statuscustomer" id="statuscustomer" style="width:180px;">
          <option value="AKTIF" <?php if($row_edit['status']=='AKTIF')echo "selected"; ?>>AKTIF</option>
          <option value="TIDAK AKTIF" <?php if($row_edit['status']=='TIDAK AKTIF')echo "selected"; ?>>TIDAK AKTIF</option>
          <option value="BLACK LIST" <?php if($row_edit['status']=='BLACK LIST')echo "selected"; ?>>BLACK LIST</option>
      </select></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="left">
          <input name="copydomisili" type="checkbox" id="copydomisili" value="ok" onClick="javascript: if(this.checked==true){$('#filecopydomisili').show(500);$('#filecopydomisili').click();}else{$('#filecopydomisili').hide(500);}" /><a href="#" onClick="$('#copydomisilifile').slideToggle(500);">Foto Copy Domisili Perusahaan :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copydomisili'])) echo "<img id='copydomisilifile' src='../../$row_edit[copydomisili]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copydomisili]', '_blank')\" />";?><input type="file" name="filecopydomisili" id="filecopydomisili" style="display:none;" /></div></td>
    </tr>
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">Fax Perusahan : </td>
      <td bgcolor="#FFFFFF"><input name="fax" type="text" id="fax" size="37" maxlength="100" value="<?php echo $row_edit['fax']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="right">Keterangan : </div></td>
      <td rowspan="2" bgcolor="#FFFFFF"><textarea name="keterangan" cols="35" rows="2" id="keterangan"><?php echo $row_edit['keterangan']; ?></textarea>
          <input name="id3222" type="hidden" id="id3222" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><div align="left">
          <input name="copynpwp" type="checkbox" id="copynpwp" value="ok" onClick="javascript: if(this.checked==true){$('#filecopynpwp').show(500);$('#filecopynpwp').click();}else{$('#filecopynpwp').hide(500);}" /><a href="#" onClick="$('#copynpwpfile').slideToggle(500);">Foto Copy NPWP :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copynpwp'])) echo "<img id='copynpwpfile' src='../../$row_edit[copynpwp]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copynpwp]', '_blank')\" />";?><input type="file" name="filecopynpwp" id="filecopynpwp" style="display:none;" /></div></td>
    </tr>
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">email Perusahan : </td>
      <td bgcolor="#FFFFFF"><input name="email" type="text" id="email" size="18" maxlength="100" value="<?php echo $row_edit['email']; ?>" />
          <input name="id" type="hidden" id="id" />
        Format : abc@xx.com</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td>&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copyktp1" type="checkbox" id="copyktp1" value="ok" onClick="javascript: if(this.checked==true){$('#filecopyktp1').show(500);$('#filecopyktp1').click();}else{$('#filecopyktp1').hide(500);}" /><a href="#" onClick="$('#copyktp1file').slideToggle(500);">Foto Copy KTP Pemohon :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copyktp1'])) echo "<img id='copyktp1file' src='../../$row_edit[copyktp1]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copyktp1]', '_blank')\" />";?><input type="file" name="filecopyktp1" id="filecopyktp1" style="display:none;" /></td>
    </tr>
    <tr valign="top">
      <td align="right" bgcolor="#FFFFFF">NPWP : </td>
      <td bgcolor="#FFFFFF"><input name="npwp" type="text" id="npwp" size="37" maxlength="100" value="<?php echo $row_edit['npwp']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td colspan="2" bgcolor="#DDDDDD">Data Pengurus Perusahaan </td>
      <td>&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copyktp2" type="checkbox" id="copyktp2" value="ok" onClick="javascript: if(this.checked==true){$('#filecopyktp2').show(500);$('#filecopyktp2').click();}else{$('#filecopyktp2').hide(500);}" /><a href="#" onClick="$('#copyktp2file').slideToggle(500);">Foto Copy KTP Penjamin :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copyktp2'])) echo "<img id='copyktp2file' src='../../$row_edit[copyktp2]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copyktp2]', '_blank')\" />";?><input type="file" name="filecopyktp2" id="filecopyktp2" style="display:none;" /></td>
    </tr>
    
    <tr>
      <td align="right" valign="top" bgcolor="#FFFFFF">Badan Usaha : </td>
      <td valign="top" bgcolor="#FFFFFF"><input name="badanusaha" type="text" id="badanusaha" size="37" maxlength="100" value="<?php echo $row_edit['badanusaha']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td width="12%" valign="top" bgcolor="#FFFFFF"><div align="right">Nama : </div></td>
      <td width="21%" valign="top" bgcolor="#FFFFFF"><input name="nama2" type="text" id="nama2" size="37" maxlength="100" value="<?php echo $row_edit['nama2']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><input name="copysim" type="checkbox" id="copysim" value="ok" onClick="javascript: if(this.checked==true){$('#filecopysim').show(500);$('#filecopysim').click();}else{$('#filecopysim').hide(500);}" /><a href="#" onClick="$('#copysimfile').slideToggle(500);">Foto Copy SIM Pemakai Kendaraan :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copysim'])) echo "<img id='copysimfile' src='../../$row_edit[copysim]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copysim]', '_blank')\" />";?><input type="file" name="filecopysim" id="filecopysim" style="display:none;" /></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#FFFFFF">Spesifikasi Usaha  : </td>
      <td bgcolor="#FFFFFF"><input name="spesifikasiusaha" type="text" id="spesifikasiusaha" size="37" maxlength="100" value="<?php echo $row_edit['spesifikasiusaha']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Jabatan : </div></td>
      <td valign="top" bgcolor="#FFFFFF"><input name="jabatan2" type="text" id="jabatan2" size="37" maxlength="100" value="<?php echo $row_edit['jabatan2']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copypo" type="checkbox" id="copypo" value="ok" onClick="javascript: if(this.checked==true){$('#filecopypo').show(500);$('#filecopypo').click();}else{$('#filecopypo').hide(500);}" />
        <a href="#" onClick="$('#copypofile').slideToggle(500);"> PO-Purchase Order :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copypo'])) echo "<img id='copypofile' src='../../$row_edit[copypo]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copypo]', '_blank')\" />";?><input type="file" name="filecopypo" id="filecopypo" style="display:none;" /></td>
    </tr>
    <tr>
      <td align="left" bgcolor="#FFFFFF"><div align="right">Jumlah Karyawan : </div></td>
      <td bgcolor="#FFFFFF"><input name="jmlkaryawan" type="text" id="jmlkaryawan" size="37" maxlength="100" value="<?php echo $row_edit['jmlkaryawan']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Alamat : </div></td>
      <td rowspan="2" valign="top" bgcolor="#FFFFFF"><textarea name="alamat1" cols="35" rows="2" id="alamat1"><?php echo $row_edit['alamat1']; ?></textarea>
          <input name="alamat1" type="hidden" id="alamat1" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">Tambahan : </td>
    </tr>
    <tr>
      <td align="left" bgcolor="#FFFFFF"><div align="right">Omset/Tahun Rp. :</div></td>
      <td bgcolor="#FFFFFF"><input name="omset" type="text" id="omset" size="37" maxlength="100" value="<?php echo $row_edit['omset']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copytabungan" type="checkbox" id="copytabungan" value="ok" onClick="javascript: if(this.checked==true){$('#filecopytabungan').show(500);$('#filecopytabungan').click();}else{$('#filecopytabungan').hide(500);}" /><a href="#" onClick="$('#copytabunganfile').slideToggle(500);">Foto Copy Rek. Koran :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copytabungan'])) echo "<img id='copytabunganfile' src='../../$row_edit[copytabungan]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copytabungan]', '_blank')\" />";?><input type="file" name="filecopytabungan" id="filecopytabungan" style="display:none" /></td>
    </tr>
    <tr>
      <td valign="top" bgcolor="#DDDDDD">Data Referensi</td>
      <td bgcolor="#DDDDDD">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top"><div align="right">Telp/HP* :</div></td>
      <td valign="top"><input name="tlp2" type="text" id="tlp2" size="37" maxlength="100" value="<?php echo $row_edit['tlp2']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copykk" type="checkbox" id="copykk" value="ok" onClick="javascript: if(this.checked==true){$('#filecopykk').show(500);$('#filecopykk').click();}else{$('#filecopykk').hide(500);}" />
        <a href="#" onClick="$('#copykkfile').slideToggle(500);">Foto Copy KK :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copykk'])) echo "<img id='copykkfile' src='../../$row_edit[copykk]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copykk]', '_blank')\" />";?><input type="file" name="filecopykk" id="filecopykk" style="display:none;" /></td>
    </tr>
    
    <tr>
      <td width="15%" valign="top" bgcolor="#FFFFFF"><div align="right">Nama  : </div></td>
      <td bgcolor="#FFFFFF"><input name="nama1" type="text" id="nama1" size="37" maxlength="100" value="<?php echo $row_edit['nama1']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#DDDDDD">Data Penjamin </td>
      <td bgcolor="#DDDDDD">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copypbb" type="checkbox" id="copypbb" value="ok" onClick="javascript: if(this.checked==true){$('#filecopypbb').show(500);$('#filecopypbb').click();}else{$('#filecopypbb').hide(500);}" /><a href="#" onClick="$('#copypbbfile').slideToggle(500);">Foto Copy Sertifikat & PBB :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copypbb'])) echo "<img id='copypbbfile' src='../../$row_edit[copypbb]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copypbb]', '_blank')\" />";?><input type="file" name="filecopypbb" id="filecopypbb" style="display:none;" /></td>
    </tr>
    
    <tr>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Jabatan : </div></td>
      <td bgcolor="#FFFFFF"><input name="jabatan1" type="text" id="jabatan1" size="37" maxlength="100" value="<?php echo $row_edit['jabatan1']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td width="12%" valign="top" bgcolor="#FFFFFF"><div align="right">Nama  : </div></td>
      <td bgcolor="#FFFFFF"><input name="nama3" type="text" id="nama3" size="37" maxlength="100" value="<?php echo $row_edit['nama3']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input name="copysurat" type="checkbox" id="copysurat" value="ok" onClick="javascript: if(this.checked==true){$('#filecopysurat').show(500);$('#filecopysurat').click();}else{$('#filecopysurat').hide(500);}" /><a href="#" onClick="$('#copysuratfile').slideToggle(500);">Foto Copy Surat Penunjukan Perusahaan :</a><br>
				<?php
				if(file_exists("../../".$row_edit['copysurat'])) echo "<img id='copysuratfile' src='../../$row_edit[copysurat]' width='100' style='display:none;cursor:pointer;' onclick=\"window.open('$row_edit[copysurat]', '_blank')\" />";?><input type="file" name="filecopysurat" id="filecopysurat" style="display:none;" /></td>
    </tr>
    
    <tr>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Alamat Rumah: </div></td>
      <td rowspan="2" bgcolor="#FFFFFF"><textarea name="alamat3" cols="35" rows="2" id="alamat3"><?php echo $row_edit['alamat3']; ?></textarea>
          <input name="alamat3" type="hidden" id="alamat3" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Jabatan : </div></td>
      <td bgcolor="#FFFFFF"><input name="jabatan3" type="text" id="jabatan3" size="37" maxlength="100" value="<?php echo $row_edit['jabatan3']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
      <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Alamat : </div></td>
      <td rowspan="2" bgcolor="#FFFFFF"><textarea name="alamat2" cols="35" rows="2" id="alamat2"><?php echo $row_edit['alamat2']; ?></textarea>
          <input name="alamat2" type="hidden" id="alamat2" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Telp/HP .: </div></td>
      <td bgcolor="#FFFFFF"><input name="tlp1" type="text" id="tlp1" size="37" maxlength="100" value="<?php echo $row_edit['tlp1']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    
    <tr>
      <td align="left" bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td valign="top" bgcolor="#FFFFFF"><div align="right">Telp/HP .: </div></td>
      <td bgcolor="#FFFFFF"><input name="tlp3" type="text" id="tlp3" size="37" maxlength="100" value="<?php echo $row_edit['tlp3']; ?>" /></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
      <td align="left" bgcolor="#FFFFFF"><em>*Harus diisi</em></td>
      <td bgcolor="#FFFFFF"><label>
        <input name="Save" type="submit" id="Save" value="Simpan" />
        </label>
          <label>
          <input type="button" name="Button" value="Batal" onClick="javascript:history.go(-1);">
        </label></td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  </table>
</form>
</body>
</html>